<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>约会灵感 - 发现完美约会方案</title>
    
    <!-- 引入外部资源 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    
    <style>
        :root {
            --primary: #E94664;
            --primary-light: #FF6685;
            --secondary: #6366F1;
            --accent: #F59E0B;
            --dark: #1F2937;
            --light: #F9FAFB;
            --gray: #6B7280;
            --light-gray: #E5E7EB;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow: 0 4px 16px rgba(0,0,0,0.12);
            --transition: all 0.3s ease;
            --radius: 12px;
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: #F9FAFB;
            color: var(--dark);
            line-height: 1.6;
            padding-bottom: 3rem;
        }
        
        .container {
            max-width: 1280px;
        }
        
        /* 页面头部样式 */
        .page-header {
            padding: 2rem 0;
            margin-bottom: 2rem;
            background: linear-gradient(135deg, #FFEFF2 0%, #F9FAFB 100%);
            border-radius: 0 0 30px 30px;
        }
        
        .page-title {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.75rem;
        }
        
        .page-subtitle {
            font-size: 1.1rem;
            color: var(--gray);
            max-width: 700px;
        }
        
        /* 筛选区域 */
        .filters-container {
            background-color: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .filter-section {
            margin-bottom: 1.5rem;
        }
        
        .filter-section:last-child {
            margin-bottom: 0;
        }
        
        .filter-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .filter-title i {
            color: var(--primary);
        }
        
        .search-box {
            position: relative;
            margin-bottom: 1rem;
        }
        
        .search-input {
            width: 100%;
            padding: 12px 16px 12px 40px;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .search-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(233, 70, 100, 0.1);
            outline: none;
        }
        
        .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }
        
        /* 分类筛选 */
        .category-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .category-checkbox {
            display: none;
        }
        
        .category-label {
            background-color: var(--light);
            border: 1px solid var(--light-gray);
            border-radius: 20px;
            padding: 6px 18px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .category-checkbox:checked + .category-label {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* 价格范围滑块 */
        .price-slider-container {
            padding: 10px 0;
        }
        
        .price-slider {
            width: 100%;
            margin: 15px 0;
        }
        
        .price-display {
            display: flex;
            justify-content: space-between;
            font-weight: 500;
            color: var(--primary);
        }
        
        /* 时长筛选 */
        .duration-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .duration-btn {
            background-color: var(--light);
            border: 1px solid var(--light-gray);
            border-radius: 6px;
            padding: 6px 16px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .duration-btn.active {
            background-color: var(--secondary);
            color: white;
            border-color: var(--secondary);
        }
        
        /* 日期选择 */
        .date-picker-container {
            display: flex;
            gap: 10px;
        }
        
        .date-picker {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid var(--light-gray);
            border-radius: 6px;
            font-size: 0.95rem;
        }
        
        /* 其他筛选选项 */
        .toggle-options {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .toggle-option {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .form-check-input:checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        /* 筛选按钮组 */
        .filter-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px dashed var(--light-gray);
        }
        
        .apply-filters {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 10px 24px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .apply-filters:hover {
            background-color: var(--primary-light);
        }
        
        .reset-filters {
            background-color: transparent;
            color: var(--gray);
            border: none;
            font-size: 0.95rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .reset-filters:hover {
            color: var(--dark);
        }
        
        /* 结果统计 */
        .results-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .results-count {
            font-weight: 600;
            color: var(--dark);
        }
        
        .results-count span {
            color: var(--primary);
        }
        
        .sort-options {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .sort-label {
            font-size: 0.9rem;
            color: var(--gray);
        }
        
        .sort-select {
            padding: 6px 12px;
            border: 1px solid var(--light-gray);
            border-radius: 6px;
            font-size: 0.9rem;
            background-color: white;
        }
        
        /* 约会列表 */
        .dating-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .date-card {
            background-color: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .date-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
        
        /* 卡片图片 */
        .card-img-container {
            position: relative;
            height: 200px;
            overflow: hidden;
        }
        
        .card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .date-card:hover .card-img {
            transform: scale(1.05);
        }
        
        /* 标签和指示器 */
        .date-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            background-color: var(--primary);
            color: white;
            border-radius: 4px;
            padding: 3px 10px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 1;
        }
        
        .price-indicator {
            position: absolute;
            top: 12px;
            right: 12px;
            background-color: var(--accent);
            color: white;
            border-radius: 4px;
            padding: 3px 10px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 1;
        }
        
        /* 卡片内容 */
        .card-body {
            padding: 1.25rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .date-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--dark);
            transition: var(--transition);
            line-height: 1.4;
        }
        
        .date-card:hover .date-title {
            color: var(--primary);
        }
        
        .date-desc {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            line-height: 1.5;
            flex-grow: 1;
        }
        
        .date-meta {
            font-size: 0.8rem;
            color: var(--gray);
            margin-bottom: 1rem;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* 作者信息 */
        .author-info {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px dashed var(--light-gray);
        }
        
        .author-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-name {
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        /* 社交数据 */
        .social-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        /* 分页 */
        .pagination-container {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
        }
        
        .pagination {
            display: flex;
            gap: 6px;
        }
        
        .page-btn {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            border: 1px solid var(--light-gray);
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .page-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        
        .page-btn.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .filter-row {
                flex-direction: column;
            }
            
            .filter-sidebar {
                margin-bottom: 1.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .page-title {
                font-size: 1.75rem;
            }
            
            .filter-actions {
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
            }
            
            .apply-filters, .reset-filters {
                width: 100%;
                justify-content: center;
            }
            
            .results-stats {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .sort-options {
                width: 100%;
                justify-content: space-between;
            }
            
            .sort-select {
                width: 50%;
            }
        }
        
        @media (max-width: 576px) {
            .dating-list {
                grid-template-columns: 1fr;
            }
            
            .date-picker-container {
                flex-direction: column;
            }
            
            .toggle-options {
                flex-direction: column;
                gap: 10px;
            }
            
            .toggle-option {
                width: 100%;
            }
        }
        
        /* 无结果状态 */
        .no-results {
            text-align: center;
            padding: 4rem 2rem;
            background-color: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
        }
        
        .no-results i {
            font-size: 3rem;
            color: var(--light-gray);
            margin-bottom: 1.5rem;
        }
        
        .no-results h3 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--dark);
        }
        
        .no-results p {
            color: var(--gray);
            margin-bottom: 1.5rem;
        }
        
        /* 高级筛选切换 */
        .advanced-filter-toggle {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1rem;
            cursor: pointer;
            color: var(--secondary);
            font-weight: 500;
            gap: 8px;
        }
        
        .advanced-filters {
            display: none;
        }
        
        .advanced-filters.show {
            display: block;
        }
    </style>
</head>
<body>
    <div class="container py-4 px-4">
        <!-- 页面头部 -->
        <div class="page-header">
            <h1 class="page-title">约会灵感</h1>
            <p class="page-subtitle">发现完美的约会方案，从浪漫晚餐到户外冒险，总有一款适合你</p>
        </div>
        
        <!-- 筛选区域 -->
        <div class="filters-container">
            <!-- 基础搜索框 -->
            <div class="filter-section">
                <div class="search-box">
                    <i class="fas fa-search search-icon"></i>
                    <input type="text" class="search-input" placeholder="搜索约会地点、活动或关键词...">
                </div>
            </div>
            
            <!-- 分类筛选 -->
            <div class="filter-section">
                <h3 class="filter-title"><i class="fas fa-th-large"></i> 约会类型</h3>
                <div class="category-filter">
                    <input type="checkbox" id="cat-all" class="category-checkbox" checked>
                    <label for="cat-all" class="category-label">
                        <i class="fas fa-th"></i> 全部类型
                    </label>
                    
                    <input type="checkbox" id="cat-food" class="category-checkbox">
                    <label for="cat-food" class="category-label">
                        <i class="fas fa-utensils"></i> 美食约会
                    </label>
                    
                    <input type="checkbox" id="cat-outdoor" class="category-checkbox">
                    <label for="cat-outdoor" class="category-label">
                        <i class="fas fa-tree"></i> 户外活动
                    </label>
                    
                    <input type="checkbox" id="cat-art" class="category-checkbox">
                    <label for="cat-art" class="category-label">
                        <i class="fas fa-palette"></i> 文艺体验
                    </label>
                    
                    <input type="checkbox" id="cat-entertainment" class="category-checkbox">
                    <label for="cat-entertainment" class="category-label">
                        <i class="fas fa-gamepad"></i> 娱乐游戏
                    </label>
                    
                    <input type="checkbox" id="cat-movie" class="category-checkbox">
                    <label for="cat-movie" class="category-label">
                        <i class="fas fa-film"></i> 影视音乐
                    </label>
                    
                    <input type="checkbox" id="cat-culture" class="category-checkbox">
                    <label for="cat-culture" class="category-label">
                        <i class="fas fa-book"></i> 文化教育
                    </label>
                    
                    <input type="checkbox" id="cat-creative" class="category-checkbox">
                    <label for="cat-creative" class="category-label">
                        <i class="fas fa-gift"></i> 惊喜创意
                    </label>
                </div>
            </div>
            
            <!-- 高级筛选切换 -->
            <div class="advanced-filter-toggle" id="advancedFilterToggle">
                <i class="fas fa-sliders-h"></i>
                <span>高级筛选选项</span>
                <i class="fas fa-chevron-down" id="advancedFilterIcon"></i>
            </div>
            
            <!-- 高级筛选 -->
            <div class="advanced-filters" id="advancedFilters">
                <!-- 价格范围 -->
                <div class="filter-section">
                    <h3 class="filter-title"><i class="fas fa-money-bill-wave"></i> 价格范围</h3>
                    <div class="price-slider-container">
                        <input type="range" min="0" max="1000" value="500" class="price-slider" id="priceSlider">
                        <div class="price-display">
                            <span>¥0</span>
                            <span id="priceValue">¥500</span>
                            <span>¥1000+</span>
                        </div>
                    </div>
                </div>
                
                <!-- 约会时长 -->
                <div class="filter-section">
                    <h3 class="filter-title"><i class="fas fa-clock"></i> 约会时长</h3>
                    <div class="duration-options">
                        <button class="duration-btn">1小时以内</button>
                        <button class="duration-btn active">1-3小时</button>
                        <button class="duration-btn">3-6小时</button>
                        <button class="duration-btn">半天</button>
                        <button class="duration-btn">全天</button>
                        <button class="duration-btn">过夜</button>
                    </div>
                </div>
                
                <!-- 日期选择 -->
                <div class="filter-section">
                    <h3 class="filter-title"><i class="fas fa-calendar-alt"></i> 适合日期</h3>
                    <div class="date-picker-container">
                        <input type="date" class="date-picker" id="startDate">
                        <input type="date" class="date-picker" id="endDate">
                    </div>
                </div>
                
                <!-- 其他选项 -->
                <div class="filter-section">
                    <h3 class="filter-title"><i class="fas fa-filter"></i> 其他选项</h3>
                    <div class="toggle-options">
                        <div class="toggle-option">
                            <input class="form-check-input" type="checkbox" id="option-free">
                            <label class="form-check-label" for="option-free">
                                免费活动
                            </label>
                        </div>
                        
                        <div class="toggle-option">
                            <input class="form-check-input" type="checkbox" id="option-popular">
                            <label class="form-check-label" for="option-popular">
                                热门推荐
                            </label>
                        </div>
                        
                        <div class="toggle-option">
                            <input class="form-check-input" type="checkbox" id="option-new">
                            <label class="form-check-label" for="option-new">
                                最新发布
                            </label>
                        </div>
                        
                        <div class="toggle-option">
                            <input class="form-check-input" type="checkbox" id="option-accessible">
                            <label class="form-check-label" for="option-accessible">
                                交通便利
                            </label>
                        </div>
                        
                        <div class="toggle-option">
                            <input class="form-check-input" type="checkbox" id="option-pet">
                            <label class="form-check-label" for="option-pet">
                                允许带宠物
                            </label>
                        </div>
                        
                        <div class="toggle-option">
                            <input class="form-check-input" type="checkbox" id="option-rain">
                            <label class="form-check-label" for="option-rain">
                                雨天适用
                            </label>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 筛选按钮 -->
            <div class="filter-actions">
                <button class="reset-filters">
                    <i class="fas fa-sync-alt"></i> 重置筛选条件
                </button>
                <button class="apply-filters">
                    <i class="fas fa-check"></i> 应用筛选条件
                </button>
            </div>
        </div>
        
        <!-- 结果统计和排序 -->
        <div class="results-stats">
            <div class="results-count">找到 <span>24</span> 个符合条件的约会方案</div>
            <div class="sort-options">
                <span class="sort-label">排序方式：</span>
                <select class="sort-select">
                    <option value="recommend">推荐指数</option>
                    <option value="newest">最新发布</option>
                    <option value="popular">最受欢迎</option>
                    <option value="price-low">价格从低到高</option>
                    <option value="price-high">价格从高到低</option>
                </select>
            </div>
        </div>
        
        <!-- 约会列表 -->
        <div class="dating-list">
            <!-- 约会卡片1 -->
            <div class="date-card">
                <div class="card-img-container">
                    <img src="https://picsum.photos/600/400?random=31" alt="山顶日落野餐" class="card-img">
                    <span class="date-tag">浪漫</span>
                    <span class="price-indicator">¥268/人</span>
                </div>
                <div class="card-body">
                    <h3 class="date-title">山顶日落野餐，见证最美黄昏</h3>
                    <p class="date-desc">
                        乘坐缆车登上城市最高峰，在观景台享用精心准备的野餐篮，随着日落慢慢欣赏城市全景。
                    </p>
                    
                    <div class="date-meta">
                        <div class="meta-item">
                            <i class="far fa-clock"></i> 3小时
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-map-marker-alt"></i> 云顶山
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-sun"></i> 黄昏
                        </div>
                    </div>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/100/100?random=201" alt="摄影师阿明的头像" class="author-avatar">
                        <span class="author-name">摄影师阿明</span>
                    </div>
                    
                    <div class="social-stats">
                        <div class="stat-item">
                            <i class="far fa-eye"></i> 12.5k
                        </div>
                        <div class="stat-item">
                            <i class="far fa-comment"></i> 342
                        </div>
                        <div class="stat-item">
                            <i class="far fa-heart"></i> 2.1k
                        </div>
                        <div class="stat-item">
                            <i class="far fa-bookmark"></i> 876
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 约会卡片2 -->
            <div class="date-card">
                <div class="card-img-container">
                    <img src="https://picsum.photos/600/400?random=32" alt="双人陶艺创作" class="card-img">
                    <span class="date-tag">创意</span>
                    <span class="price-indicator">¥168/人</span>
                </div>
                <div class="card-body">
                    <h3 class="date-title">双人陶艺创作，共同制作爱情信物</h3>
                    <p class="date-desc">
                        在专业陶艺师指导下，两人合作完成一件陶艺作品，从捏坯到上釉全程参与，作品可永久保存。
                    </p>
                    
                    <div class="date-meta">
                        <div class="meta-item">
                            <i class="far fa-clock"></i> 2.5小时
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-map-marker-alt"></i> 陶乐坊
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-sun"></i> 日间
                        </div>
                    </div>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/100/100?random=202" alt="陶艺家小琳的头像" class="author-avatar">
                        <span class="author-name">陶艺家小琳</span>
                    </div>
                    
                    <div class="social-stats">
                        <div class="stat-item">
                            <i class="far fa-eye"></i> 8.7k
                        </div>
                        <div class="stat-item">
                            <i class="far fa-comment"></i> 215
                        </div>
                        <div class="stat-item">
                            <i class="far fa-heart"></i> 1.3k
                        </div>
                        <div class="stat-item">
                            <i class="far fa-bookmark"></i> 562
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 约会卡片3 -->
            <div class="date-card">
                <div class="card-img-container">
                    <img src="https://picsum.photos/600/400?random=33" alt="星空露营约会" class="card-img">
                    <span class="date-tag">户外</span>
                    <span class="price-indicator">¥320/人</span>
                </div>
                <div class="card-body">
                    <h3 class="date-title">星空露营约会，远离城市喧嚣</h3>
                    <p class="date-desc">
                        在近郊营地露营，提供双人帐篷和睡袋。晚上围着篝火聊天，抬头可见满天繁星，新手也能轻松体验。
                    </p>
                    
                    <div class="date-meta">
                        <div class="meta-item">
                            <i class="far fa-clock"></i> 过夜
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-map-marker-alt"></i> 星光营地
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-moon"></i> 夜间
                        </div>
                    </div>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/100/100?random=203" alt="户外达人小峰的头像" class="author-avatar">
                        <span class="author-name">户外达人小峰</span>
                    </div>
                    
                    <div class="social-stats">
                        <div class="stat-item">
                            <i class="far fa-eye"></i> 9.3k
                        </div>
                        <div class="stat-item">
                            <i class="far fa-comment"></i> 287
                        </div>
                        <div class="stat-item">
                            <i class="far fa-heart"></i> 1.8k
                        </div>
                        <div class="stat-item">
                            <i class="far fa-bookmark"></i> 743
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 约会卡片4 -->
            <div class="date-card">
                <div class="card-img-container">
                    <img src="https://picsum.photos/600/400?random=34" alt="精品咖啡品鉴会" class="card-img">
                    <span class="date-tag">美食</span>
                    <span class="price-indicator">¥98/人</span>
                </div>
                <div class="card-body">
                    <h3 class="date-title">精品咖啡品鉴会，共享悠闲午后</h3>
                    <p class="date-desc">
                        专业咖啡师带你体验从咖啡豆到咖啡的全过程，学习品鉴不同产地的咖啡风味，搭配手工甜点。
                    </p>
                    
                    <div class="date-meta">
                        <div class="meta-item">
                            <i class="far fa-clock"></i> 1.5小时
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-map-marker-alt"></i> 街角咖啡实验室
                        </div>
                        <div class="meta-item">
                            <i class="fas fa-sun"></i> 午后
                        </div>
                    </div>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/100/100?random=204" alt="咖啡师小雅的头像" class="author-avatar">
                        <span class="author-name">咖啡师小雅</span>
                    </div>
                    
                    <div class="social-stats">
                        <div class="stat-item">
                            <i class="far fa-eye"></i> 3.2k
                        </div>
                        <div class="stat-item">
                            <i class="far fa-comment"></i> 87
                        </div>
                        <div class="stat-item">
                            <i class="far fa-heart"></i> 542
                        </div>
                        <div class="stat-item">
                            <i class="far fa-bookmark"></i> 218
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 分页 -->
        <div class="pagination-container">
            <div class="pagination">
                <button class="page-btn">
                    <i class="fas fa-chevron-left"></i>
                </button>
                <button class="page-btn active">1</button>
                <button class="page-btn">2</button>
                <button class="page-btn">3</button>
                <button class="page-btn">4</button>
                <button class="page-btn">5</button>
                <button class="page-btn">
                    <i class="fas fa-chevron-right"></i>
                </button>
            </div>
        </div>
    </div>

    <script>
        // 高级筛选切换
        const advancedFilterToggle = document.getElementById('advancedFilterToggle');
        const advancedFilters = document.getElementById('advancedFilters');
        const advancedFilterIcon = document.getElementById('advancedFilterIcon');
        
        advancedFilterToggle.addEventListener('click', function() {
            advancedFilters.classList.toggle('show');
            advancedFilterIcon.classList.toggle('fa-chevron-down');
            advancedFilterIcon.classList.toggle('fa-chevron-up');
        });
        
        // 价格滑块
        const priceSlider = document.getElementById('priceSlider');
        const priceValue = document.getElementById('priceValue');
        
        priceSlider.addEventListener('input', function() {
            const value = this.value;
            priceValue.textContent = value >= 1000 ? '¥1000+' : `¥${value}`;
        });
        
        // 时长按钮切换
        const durationBtns = document.querySelectorAll('.duration-btn');
        
        durationBtns.forEach(btn => {
            btn.addEventListener('click', function() {
                durationBtns.forEach(b => b.classList.remove('active'));
                this.classList.add('active');
            });
        });
        
        // 分类选择逻辑 - 全选/取消全选
        const catAll = document.getElementById('cat-all');
        const categoryCheckboxes = document.querySelectorAll('.category-checkbox:not(#cat-all)');
        
        catAll.addEventListener('change', function() {
            if (this.checked) {
                categoryCheckboxes.forEach(checkbox => {
                    checkbox.checked = false;
                });
            }
        });
        
        categoryCheckboxes.forEach(checkbox => {
            checkbox.addEventListener('change', function() {
                if (this.checked) {
                    catAll.checked = false;
                    
                    // 检查是否所有分类都被选中
                    const allChecked = Array.from(categoryCheckboxes).every(cb => cb.checked);
                    if (allChecked) {
                        catAll.checked = true;
                        categoryCheckboxes.forEach(cb => cb.checked = false);
                    }
                }
            });
        });
        
        // 应用筛选按钮
        const applyFiltersBtn = document.querySelector('.apply-filters');
        
        applyFiltersBtn.addEventListener('click', function() {
            // 收集选中的筛选条件
            const selectedCategories = Array.from(categoryCheckboxes)
                .filter(checkbox => checkbox.checked)
                .map(checkbox => checkbox.nextElementSibling.textContent.trim());
            
            const priceRange = priceSlider.value >= 1000 ? '¥1000+' : `¥${priceSlider.value}`;
            const selectedDuration = document.querySelector('.duration-btn.active').textContent;
            
            // 显示筛选结果提示
            showToast(`已应用筛选条件: ${selectedCategories.length ? selectedCategories.join(', ') : '全部类型'}, 价格上限${priceRange}, 时长${selectedDuration}`);
            
            // 在实际应用中，这里会发送筛选条件到服务器并更新列表
        });
        
        // 重置筛选按钮
        const resetFiltersBtn = document.querySelector('.reset-filters');
        
        resetFiltersBtn.addEventListener('click', function() {
            // 重置所有筛选条件
            document.querySelector('.search-input').value = '';
            catAll.checked = true;
            categoryCheckboxes.forEach(checkbox => checkbox.checked = false);
            priceSlider.value = 500;
            priceValue.textContent = '¥500';
            durationBtns.forEach((btn, index) => {
                btn.classList.toggle('active', index === 1); // 激活"1-3小时"
            });
            document.querySelectorAll('.form-check-input').forEach(checkbox => {
                checkbox.checked = false;
            });
            document.getElementById('startDate').value = '';
            document.getElementById('endDate').value = '';
            document.querySelector('.sort-select').value = 'recommend';
            
            showToast('已重置所有筛选条件');
        });
        
        // 分页按钮
        const pageBtns = document.querySelectorAll('.page-btn:not(:first-child):not(:last-child)');
        
        pageBtns.forEach(btn => {
            btn.addEventListener('click', function() {
                pageBtns.forEach(b => b.classList.remove('active'));
                this.classList.add('active');
                showToast(`已切换到第 ${this.textContent} 页`);
            });
        });
        
        // 上一页/下一页
        const prevPageBtn = document.querySelector('.page-btn:first-child');
        const nextPageBtn = document.querySelector('.page-btn:last-child');
        
        prevPageBtn.addEventListener('click', function() {
            const activeBtn = document.querySelector('.page-btn.active');
            const prevBtn = activeBtn.previousElementSibling;
            
            if (prevBtn && !prevBtn.classList.contains('fa-chevron-left')) {
                activeBtn.classList.remove('active');
                prevBtn.classList.add('active');
                showToast(`已切换到第 ${prevBtn.textContent} 页`);
            }
        });
        
        nextPageBtn.addEventListener('click', function() {
            const activeBtn = document.querySelector('.page-btn.active');
            const nextBtn = activeBtn.nextElementSibling;
            
            if (nextBtn && !nextBtn.classList.contains('fa-chevron-right')) {
                activeBtn.classList.remove('active');
                nextBtn.classList.add('active');
                showToast(`已切换到第 ${nextBtn.textContent} 页`);
            }
        });
        
        
        
    </script>
</body>
</html>
    
